Q3Mesh_FirstMeshComponent
You can use theQ3Mesh_FirstMeshComponent
function to get the first component of a mesh.
TQ3MeshComponent Q3Mesh_FirstMeshComponent ( TQ3GeometryObject mesh, TQ3MeshIterator *iterator);
mesh
- A mesh.
iterator
- A pointer to a mesh iterator structure.
DESCRIPTION
TheQ3Mesh_FirstMeshComponent
function returns, as its function result, the first mesh component in the mesh specified by themesh
parameter. Theiterator
parameter is a pointer to a mesh iterator structure thatQ3Mesh_FirstMeshComponent
fills in before returning. You should pass the address of that structure to theQ3Mesh_NextMeshComponent
function.SPECIAL CONSIDERATIONS
TheQ3Mesh_FirstMeshComponent
function might not accurately report the first mesh component in a mesh if called while mesh updating is delayed (that is, after a call toQ3Mesh_DelayUpdates
but before the matching call toQ3Mesh_ResumeUpdates
).